package com.ruoyi.edit.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 课程附件对象 tc_course_appendix
 * 
 * @author qiufeng
 * @date 2022-09-07
 */
public class CourseAppendix extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private String id;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date created;

    /** 是否删除 0：否，1是 */
    @Excel(name = "是否删除 0：否，1是")
    private Integer deleted;

    /** 封面 */
    @Excel(name = "封面")
    private String cover;

    /** 封面类型 */
    @Excel(name = "封面类型")
    private String coverType;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createdBy;

    /** 创建人名称 */
    @Excel(name = "创建人名称")
    private String createdName;

    /** 名字 */
    @Excel(name = "名字")
    private String title;

    /** 教具类型 */
    @Excel(name = "教具类型")
    private String type;

    /** 链接 */
    @Excel(name = "链接")
    private String url;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setCreated(Date created) 
    {
        this.created = created;
    }

    public Date getCreated() 
    {
        return created;
    }
    public void setDeleted(Integer deleted) 
    {
        this.deleted = deleted;
    }

    public Integer getDeleted() 
    {
        return deleted;
    }
    public void setCover(String cover) 
    {
        this.cover = cover;
    }

    public String getCover() 
    {
        return cover;
    }
    public void setCoverType(String coverType) 
    {
        this.coverType = coverType;
    }

    public String getCoverType() 
    {
        return coverType;
    }
    public void setCreatedBy(String createdBy) 
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy() 
    {
        return createdBy;
    }
    public void setCreatedName(String createdName) 
    {
        this.createdName = createdName;
    }

    public String getCreatedName() 
    {
        return createdName;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("created", getCreated())
            .append("deleted", getDeleted())
            .append("cover", getCover())
            .append("coverType", getCoverType())
            .append("createdBy", getCreatedBy())
            .append("createdName", getCreatedName())
            .append("title", getTitle())
            .append("type", getType())
            .append("url", getUrl())
            .toString();
    }
}
